popover: Always apply the window shape
authorCarlos Garnacho <carlosg@gnome.org>
Thu, 20 Feb 2014 15:24:59 +0000 (16:24 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Thu, 20 Feb 2014 15:36:34 +0000 (16:36 +0100)
commiteb0f86d485b0326f9e1ac7c8bf8093d71da6c92d
tree85536aea49a18d6aa9865678853b78823ce8d603
parent8ea40e4956747374bd7cf3ba31035d73867753bd
popover: Always apply the window shape

In practice this shape is only used to outline the popover when it is
above native windows, in the most normal full-csw case the shape won't apply
visibly, so popovers will still be able to cast a shadow there.

If there are native windows below the popover, the shape will exclude the
shadow, so there are no alpha contents above the window. One worst case that
might happen is that the popover lays above patches of native/client-side
windows, so the shadow could come and go around the border. But first let's
see whether that happens often or visibly enough before adding something more
convoluted.
gtk/Makefile.am
gtk/gtkpopover.c
gtk/gtkpopoverprivate.h [deleted file]
gtk/gtkscalebutton.c